package com.tbb.app.base.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "笔记发布/存草稿传参对象")
public class NoteAddDTO {

    @ApiModelProperty("id，不填表示新，填表示旧")
    private String id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("频道id")
    private String channelId;

    @ApiModelProperty("正文")
    private String text;

    @ApiModelProperty("图片urls")
    private List<String> imgs;


}
